home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2002 January / maximum-cd-2002-01.iso / Files / Mechwarrior 4 Mapping / MW4Editor.exe / content / ABLScripts / StockScripts / Stock_KOTH.ABL < prev    next >
Encoding:
Text File  |  2001-07-16  |  563 b   |  39 lines

  1. fsm StockKingOfTheHill : integer;        
  2.  
  3.     const
  4.         #include_ <content\ABLScripts\mwconst.abi>
  5.  
  6.     type
  7.         #include_ <content\ABLScripts\mwtype.abi>
  8.  
  9.     var
  10.         static ObjectID        hill_drop_zone;
  11.         static integer        hill_radius;
  12.  
  13. function init;
  14.     code
  15.         hill_drop_zone = edr_hill;
  16.         hill_radius = 100;
  17.  
  18.         SetupScoring_KOTH(hill_drop_zone,hill_radius);
  19.  
  20.         TeamSetNav(0,ena_The_Hill);
  21.  
  22. endfunction;
  23.  
  24. state startState;
  25.     code
  26.     revealnavpoint(ena_The_Hill);
  27.     revealnavpoint(ena_Nav_Center);
  28.  
  29. endstate;
  30.  
  31.  
  32. state deadState;
  33.     code
  34.  
  35. endstate;
  36.  
  37. endfsm.
  38.  
  39.